package com.design;

/**
 * 测试类
 */
public class MainTest {
    public static void main(String[] args) {
        ProductController productController = new ProductController();
        //模拟多次获取库存信息
        for (int i=0;i<8;i++) {
            Product product = productController.getProduct("1001");
            System.out.println(product);
        }
    }
}
